<?
$page_title="Manage Skill Sets -  Add/Edit";
$mindex=3;
$profile_menu=1;
?>
<?include("includes/header.php") ?>

<?
$query="select * from bkitc_skillset_info where rec_status=1 order by skillset_title asc";
$skillset_info=qry_data($query);
?>
	<div class="fleft">
		<ul class="subMenu">
		<li><a href="edit_skillset.php?mode=add" >Add New </a></li>
		
		</ul>
		</div>		
		<div class="cleardiv">
		
		</div>
<table   class="table_panel" width="100%"  cellspacing="0" cellpadding="4">
	<tr  align="left">
	<th width="5">S.No</th>

	
	<th>Skill Set Title</th>
	<th>Skills </th>
	<th >Created On  </th>
	<th >Last Updated  </th>
	<th >Edit/Delete</th>
	
	</tr>
	<? foreach($skillset_info as $i=>$skillset) {?>

	<tr <?if($i%2==0) echo 'class="white_bg"'; else echo 'class="grey_bg"' ?>>
	<td valign="top"><?=$i+1;?></td>
	
	<td valign="top"><?=$skillset["skillset_title"];?></td>

	<td valign="top"><pre atyle="margin:0px;padding:0px;"><?=$skillset["skillset_options"];?></pre></td>
	
	<td valign="top"><?=$skillset["rec_created"];?></td>
	<td valign="top"><?=$skillset["last_updated"];?></td>
		
	<td>
		<a href="edit_skillset.php?mode=edit&skillset_id=<?=$skillset["skillset_id"];?>">Edit</a> | 
		<a  href="javascript:if(confirm('Are you sure to delete this Skill Set?')) location.href='edit_skillset.php?mode=del&skillset_id=<?=$skillset["skillset_id"];?>'";>Delete</a> 
	</td>
	</tr>
	
	<? } ?>
</table>
	

<?include("includes/footer.php") ?>